package com.uestc.shop.service;

import com.uestc.shop.domain.Product;
import org.springframework.data.domain.Page;

/**
 * @Package: com.uestc.shop.service
 * @author: hujiansong
 * @date: 2018/7/26 17:56
 * @version: V1.0
 */
public interface IProductService {
    /**
     * 插入商品
     * @param product
     * @return
     */
    Product save(Product product);

    Page<Product> search(int page,int size,String keywords);
}
